package com.ruoyi.officeInfo.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 写字楼详细信息对象 atb_office_info
 * 
 * @author ruoyi
 * @date 2024-09-16
 */
@Data
public class AtbOfficeInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 写字楼详情id */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 写字楼详细内容 */
    @Excel(name = "写字楼详细内容")
    private String officeBuildingInfo;

    /** 位置ID */
    @Excel(name = "位置ID")
    private Long districtId;

    /** （写字楼）类型 */
    @Excel(name = "", readConverterExp = "写=字楼")
    private String shopTypeId;

    /** 等级id */
    @Excel(name = "等级id")
    private Long grade;

    /** 楼层 */
    @Excel(name = "楼层")
    private String floor;

    /** 注册 */
    @Excel(name = "注册")
    private String register;

    /** 装修id */
    @Excel(name = "装修id")
    private Long fitment;

    /** 支付 */
    @Excel(name = "支付")
    private String shopPay;

    /** 租期（起租期36个月,免租期2个月） */
    @Excel(name = "租期", readConverterExp = "起=租期36个月,免租期2个月")
    private String tenancyTerm;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long isExamine;

    /** 上架状态 */
    @Excel(name = "上架状态")
    private Long isPutaway;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOfficeBuildingInfo(String officeBuildingInfo) 
    {
        this.officeBuildingInfo = officeBuildingInfo;
    }

    public String getOfficeBuildingInfo() 
    {
        return officeBuildingInfo;
    }
    public void setDistrictId(Long districtId) 
    {
        this.districtId = districtId;
    }

    public Long getDistrictId() 
    {
        return districtId;
    }
    public void setShopTypeId(String shopTypeId) 
    {
        this.shopTypeId = shopTypeId;
    }

    public String getShopTypeId() 
    {
        return shopTypeId;
    }
    public void setGrade(Long grade) 
    {
        this.grade = grade;
    }

    public Long getGrade() 
    {
        return grade;
    }
    public void setFloor(String floor) 
    {
        this.floor = floor;
    }

    public String getFloor() 
    {
        return floor;
    }
    public void setRegister(String register) 
    {
        this.register = register;
    }

    public String getRegister() 
    {
        return register;
    }
    public void setFitment(Long fitment) 
    {
        this.fitment = fitment;
    }

    public Long getFitment() 
    {
        return fitment;
    }
    public void setShopPay(String shopPay) 
    {
        this.shopPay = shopPay;
    }

    public String getShopPay() 
    {
        return shopPay;
    }
    public void setTenancyTerm(String tenancyTerm) 
    {
        this.tenancyTerm = tenancyTerm;
    }

    public String getTenancyTerm() 
    {
        return tenancyTerm;
    }
    public void setIsExamine(Long isExamine) 
    {
        this.isExamine = isExamine;
    }

    public Long getIsExamine() 
    {
        return isExamine;
    }
    public void setIsPutaway(Long isPutaway) 
    {
        this.isPutaway = isPutaway;
    }

    public Long getIsPutaway() 
    {
        return isPutaway;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("officeBuildingInfo", getOfficeBuildingInfo())
            .append("districtId", getDistrictId())
            .append("shopTypeId", getShopTypeId())
            .append("grade", getGrade())
            .append("floor", getFloor())
            .append("register", getRegister())
            .append("fitment", getFitment())
            .append("shopPay", getShopPay())
            .append("tenancyTerm", getTenancyTerm())
            .append("isExamine", getIsExamine())
            .append("isPutaway", getIsPutaway())
            .append("createTime", getCreateTime())
            .toString();
    }
}
